	<div id="viewtype">
		<div id="viewtype_t">
			资料库
		</div>
		<div id="viewtype_b">
			<div id="ziliao_l">
				<ul>					
							<?{foreach from=$arrMType key=key item=type}?>
								<?{if is_array($type) && array_key_exists('type_title',$type) }?>
								<li><div class="ziliaojt"><a href="<?{if !empty($type.type_link)}?><?{$type.type_link}?><?{else}?><?{url url = "/`$arrGWeb.module_id`/list.php?type_id=`$type.type_id`"}?><?{/if}?>"><?{$type.type_title}?></a></div></li>
								<?{else}?>
								<li><div class="ziliaojt"><a href="<?{url url = "/`$arrGWeb.module_id`/list.php?type_id=`$key`"}?>"><?{$type}?></a></div></li>
								<?{/if}?>
							<?{/foreach}?>					
				</ul>
			</div>
		</div>
	</div>